import request from '@/utils/request'

// 列表
export const sysConfigList = (pageNo, label, value) => {
  return request({
    url: '/sysConfig/sysConfigList',
    params: {
      pageNo, label, value
    },
    method: 'post'
  })
}

//详情
export const sysConfigDetails = (sysConfigId) => {
  return request({
    url: '/sysConfig/sysConfigDetails',
    params: {
      sysConfigId,
    },
    method: 'post'
  })
}

//获取小程序码
export const getWxCode = (path, width, scene) => {
  return request({
    url: '/weChat/code/getWxCodeV1',
    params: {
      path, width, scene
    },
    method: 'post'
  })
}

